<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::fsm2&lt; statType, dataType, realT &gt;::stDataItem结构体 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d4/d5b/classwheels_1_1fsm2.html">fsm2</a></li><li class="navelem"><a class="el" href="../../d4/dfa/structwheels_1_1fsm2_1_1st_data_item.html">stDataItem</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="../../de/dda/structwheels_1_1fsm2_1_1st_data_item-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::fsm2&lt; statType, dataType, realT &gt;::stDataItem结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a>&gt;</code></p>
<div class="dynheader">
wheels::fsm2&lt; statType, dataType, realT &gt;::stDataItem 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/dca/structwheels_1_1fsm2_1_1st_data_item__coll__graph.png" border="0" usemap="#awheels_1_1fsm2_3_01stat_type_00_01data_type_00_01real_t_01_4_1_1st_data_item_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1fsm2_3_01stat_type_00_01data_type_00_01real_t_01_4_1_1st_data_item_coll__map" id="awheels_1_1fsm2_3_01stat_type_00_01data_type_00_01real_t_01_4_1_1st_data_item_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,197,203"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a626f172e6739537a7fa2eb4df0c87d63" id="r_a626f172e6739537a7fa2eb4df0c87d63"><td class="memTemplParams" colspan="2">template&lt;typename DT &gt; </td></tr>
<tr class="memitem:a626f172e6739537a7fa2eb4df0c87d63"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a626f172e6739537a7fa2eb4df0c87d63">get</a> (DT &amp;d) const</td></tr>
<tr class="memdesc:a626f172e6739537a7fa2eb4df0c87d63"><td class="mdescLeft">&#160;</td><td class="mdescRight">读取指定位置的数据，根据具体类型转换数据类型。  <br /></td></tr>
<tr class="separator:a626f172e6739537a7fa2eb4df0c87d63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bfe0b3a06de2c8a65e6d6d257530fc1" id="r_a4bfe0b3a06de2c8a65e6d6d257530fc1"><td class="memTemplParams" colspan="2">template&lt;typename DT &gt; </td></tr>
<tr class="memitem:a4bfe0b3a06de2c8a65e6d6d257530fc1"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="#a4bfe0b3a06de2c8a65e6d6d257530fc1">get</a> (long idx, DT &amp;d) const</td></tr>
<tr class="separator:a4bfe0b3a06de2c8a65e6d6d257530fc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae167bc47e4703ae2cbc724c45bfb55f3" id="r_ae167bc47e4703ae2cbc724c45bfb55f3"><td class="memItemLeft" align="right" valign="top">const realT *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae167bc47e4703ae2cbc724c45bfb55f3">getRaw</a> () const</td></tr>
<tr class="memdesc:ae167bc47e4703ae2cbc724c45bfb55f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取原始数据内容指针  <br /></td></tr>
<tr class="separator:ae167bc47e4703ae2cbc724c45bfb55f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd55e42aefa6e6dae41e167cf3fdd106" id="r_acd55e42aefa6e6dae41e167cf3fdd106"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#acd55e42aefa6e6dae41e167cf3fdd106">size</a> () const</td></tr>
<tr class="memdesc:acd55e42aefa6e6dae41e167cf3fdd106"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取原始数据内容记录数量。  <br /></td></tr>
<tr class="separator:acd55e42aefa6e6dae41e167cf3fdd106"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a80ed15c0a38f31e24136e372459f2dd3" id="r_a80ed15c0a38f31e24136e372459f2dd3"><td class="memItemLeft" align="right" valign="top">std::vector&lt; realT &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a80ed15c0a38f31e24136e372459f2dd3">m_raw_data</a></td></tr>
<tr class="separator:a80ed15c0a38f31e24136e372459f2dd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename statType, typename dataType, typename realT = typename std::decay&lt; dataType &gt;::type&gt;<br />
struct wheels::fsm2&lt; statType, dataType, realT &gt;::stDataItem</div>
<p class="definition">在文件 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a> 第 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html#l00047">47</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a626f172e6739537a7fa2eb4df0c87d63" name="a626f172e6739537a7fa2eb4df0c87d63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a626f172e6739537a7fa2eb4df0c87d63">&#9670;&#160;</a></span>get() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename statType , typename dataType , typename realT  = typename std::decay&lt; dataType &gt;::type&gt; </div>
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../d4/d5b/classwheels_1_1fsm2.html">wheels::fsm2</a>&lt; statType, dataType, realT &gt;::stDataItem::get </td>
          <td>(</td>
          <td class="paramtype">DT &amp;</td>          <td class="paramname"><span class="paramname"><em>d</em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>读取指定位置的数据，根据具体类型转换数据类型。 </p>
<dl class="tparams"><dt>模板参数</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">DT</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">idx[</td><td>I ], </td></tr>
    <tr><td class="paramname">d[</td><td>I ] </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a> 第 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<a id="a4bfe0b3a06de2c8a65e6d6d257530fc1" name="a4bfe0b3a06de2c8a65e6d6d257530fc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bfe0b3a06de2c8a65e6d6d257530fc1">&#9670;&#160;</a></span>get() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename statType , typename dataType , typename realT  = typename std::decay&lt; dataType &gt;::type&gt; </div>
<div class="memtemplate">
template&lt;typename DT &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../d4/d5b/classwheels_1_1fsm2.html">wheels::fsm2</a>&lt; statType, dataType, realT &gt;::stDataItem::get </td>
          <td>(</td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>idx</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DT &amp;</td>          <td class="paramname"><span class="paramname"><em>d</em></span>&#160;) const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a> 第 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html#l00067">67</a> 行定义.</p>

</div>
</div>
<a id="ae167bc47e4703ae2cbc724c45bfb55f3" name="ae167bc47e4703ae2cbc724c45bfb55f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae167bc47e4703ae2cbc724c45bfb55f3">&#9670;&#160;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename statType , typename dataType , typename realT  = typename std::decay&lt; dataType &gt;::type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const realT * <a class="el" href="../../d4/d5b/classwheels_1_1fsm2.html">wheels::fsm2</a>&lt; statType, dataType, realT &gt;::stDataItem::getRaw </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取原始数据内容指针 </p>

<p class="definition">在文件 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a> 第 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html#l00079">79</a> 行定义.</p>

</div>
</div>
<a id="acd55e42aefa6e6dae41e167cf3fdd106" name="acd55e42aefa6e6dae41e167cf3fdd106"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd55e42aefa6e6dae41e167cf3fdd106">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename statType , typename dataType , typename realT  = typename std::decay&lt; dataType &gt;::type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../d4/d5b/classwheels_1_1fsm2.html">wheels::fsm2</a>&lt; statType, dataType, realT &gt;::stDataItem::size </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取原始数据内容记录数量。 </p>
<dl class="section note"><dt>注解</dt><dd>这个是读取记录数量不是内存实际占用 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a> 第 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html#l00084">84</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a80ed15c0a38f31e24136e372459f2dd3" name="a80ed15c0a38f31e24136e372459f2dd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80ed15c0a38f31e24136e372459f2dd3">&#9670;&#160;</a></span>m_raw_data</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename statType , typename dataType , typename realT  = typename std::decay&lt; dataType &gt;::type&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; realT &gt; <a class="el" href="../../d4/d5b/classwheels_1_1fsm2.html">wheels::fsm2</a>&lt; statType, dataType, realT &gt;::stDataItem::m_raw_data</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a> 第 <a class="el" href="../../d4/d64/fsm2_8hpp_source.html#l00048">48</a> 行定义.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>include/<a class="el" href="../../d4/d64/fsm2_8hpp_source.html">fsm2.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
